<div id="top">
    <div class="layui-container imgs">
        <div>
            <img src="__INDEX__img/logo/logo.png" style="height: 100px" alt="" />
        </div>
        <div class="headerR">
            <div class="vo2">
                <div class="search">
                    <form id="search" class="form" name="search" method="get" action="/search" target="_blank">
                        <input type="text" placeholder="搜索" name="key" id="key" value="" class="search-1">
                        <input type="submit" value="" class="search-2">
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<div style="background: #F5F5F7">
    <div class="layui-container">
        <ul class="layui-nav" id="nav1">
            <li class="layui-nav-item {if $cateid==0}layui-this{/if}"><a href="/">首页</a></li>
            {volist name=":nav()" id="vo"}
            <li class="layui-nav-item {if $cateid==$vo.id}layui-this{/if}">
                {if sizeof($vo['zi'])==0}
                <a href="{:url('index/cate',['id'=>$vo.id])}">{$vo.catename}</a>
                {else /}
                <a href="javascript:;">{$vo.catename}</a>
                <dl class="layui-nav-child">
                    {volist name="vo.zi" id="vo2"}
                    <dd><a href="{:url('index/cate',['id'=>$vo2.id])}">{$vo2.catename}</a></dd>
                    {/volist}
                </dl>
                {/if}
            </li>
            {/volist}
        </ul>
    </div>
</div>
<div class="layui-container" id="nav2">
    <div class="tab-bar">
        {volist name=":nav(8)" id="vo"}
        <div class="tab">
            {if $vo.type==4 }
                <a href="{:url('index/cate',['id'=>$vo.id])}" target="_blank">{$vo.catename}</a>
            {else/}
                <a href="javascript:;">{$vo.catename}</a>
            {/if}
            {if sizeof($vo['zi'])>0}
            <div class="tab-content">
                {volist name="vo.zi" id="vo2"}
                <dd><a href="{:url('index/cate',['id'=>$vo2.id])}">{$vo2.catename}</a></dd>
                {/volist}
            </div>
            {/if}
        </div>
        {/volist}
    </div>
</div>